﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using SQLHelper;

public partial class Portal_ViewPlan:System.Web.UI.Page
{
	protected void Page_Load(object sender,EventArgs e)
	{
		BindPlanData();
	}
	private void BindPlanData()
	{
		IContent content = new Content();
		DataSet ds = new DataSet("Plan");
		//content.GetGenericInfoDS((byte)Column.Plan,ref ds);

		///测试程序代码
		SqlDataReader dr = content.GetContents();
		DataTable dt = SQLHelper.SystemTools.ConvertDataReaderToDataTable(dr);

		PlanCalendar.DataSource = dt;
		PlanCalendar.DataBind();
	}	
}
